package com.itheima.test1;

public class UerTest {
    public static void main(String[] args) {
        User u = new User();
        u.setUsername("张三");
        u.setPassword("123qwer");
        u.setEmail("itheima");
        u.setGender("男");
        u.setAge(18);
        System.out.println(u.getUsername()+" "+u.getPassword()+" "+u.getEmail());
        u.eat();
        User u1=new User("李四","12345678","lisi@itcast.cn","女",24);
        System.out.println(u1.getUsername() + ", " + u1.getPassword()
                + ", " + u1.getEmail() + ", " + u1.getGender() + ", " + u1.getAge());
        u1.eat();
    }
}
